<%--
  Created by IntelliJ IDEA.
  User: John
  Date: 2019/10/24
  Time: 11:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>图书列表</title>
</head>
<body>

    <table border="1">
        <tr>
            <th>ID</th>
            <th>图书名称</th>
            <th>作者</th>
            <th>图书类型</th>
        </tr>
        <c:forEach items="${books}" var="book">
            <tr>
                <td>${book.bookNo}</td>
                <td>${book.bookName}</td>
                <td>${book.author}</td>
                <td>${book.bookType}</td>
            </tr>
        </c:forEach>
    </table>


</body>
</html>
